package com.xbongbong.pro.competitor.pojo;

import com.alibaba.fastjson.JSONArray;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.HashSet;
import java.util.Set;

/**
 * @author: yingjf
 * @date: 2022/8/25 09:17
 * @description:
 */
@Getter
@Setter
@ToString
public class QueryLinkedOpportunityPojo {
    /**
     * 时间
     */
    private JSONArray queryTime;
    /**
     * 查询类型  null查全部，1 查我们赢 2对手赢
     */
    private Integer queryType;
    /**
     * 成功stageid集合
     */
    private Set<Long> successSaleStageIdSet;
    /**
     * 失败stageid集合
     */
    private Set<Long> failSaleStageIdSet;
    /**
     * 竞争对手数据id
     */
    private Long dataId;


    public QueryLinkedOpportunityPojo() {
    }


    public QueryLinkedOpportunityPojo(JSONArray queryTime, Integer queryType, Set<Long> successSaleStageIdSet, Set<Long> failSaleStageIdSet, Long dataId) {
        this.queryTime = queryTime;
        this.queryType = queryType;
        this.successSaleStageIdSet = successSaleStageIdSet;
        this.failSaleStageIdSet = failSaleStageIdSet;
        this.dataId = dataId;
    }
}
